package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 钉钉,最新,员工,记录
 * </p>
 *
 * @author wjk
 * @since 2022-05-30
 */
@TableName("bty_dingding_day_emp")
public class BtyDingdingDayEmp implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键;主键自增
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 考勤月份
     */
    @TableField("attend_year_month")
    private String attendYearMonth;

    /**
     * 员工id;员工id
     */
    @TableField("emp_id")
    private String empId;

    /**
     * 员工名称;员工名称
     */
    @TableField("emp_name")
    private String empName;

    /**
     * 部门id;部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 部门名称;部门名称
     */
    @TableField("dept_name")
    private String deptName;

    /**
     * 员工电话
     */
    @TableField("emp_phone")
    private String empPhone;

    /**
     * 删除标志;0.正常，1.删除
     */
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 创建时间;创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人;创建人id
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间;更新时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人;更新人id
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAttendYearMonth() {
        return attendYearMonth;
    }

    public void setAttendYearMonth(String attendYearMonth) {
        this.attendYearMonth = attendYearMonth;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getEmpPhone() {
        return empPhone;
    }

    public void setEmpPhone(String empPhone) {
        this.empPhone = empPhone;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "BtyDingdingDayEmp{" +
        "id=" + id +
        ", attendYearMonth=" + attendYearMonth +
        ", empId=" + empId +
        ", empName=" + empName +
        ", deptId=" + deptId +
        ", deptName=" + deptName +
        ", empPhone=" + empPhone +
        ", delFlag=" + delFlag +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}
